<?php 
	
	/**
	 * [demo 闭包函数]
	 * @return [type] [description]
	 *
	 * use()
	 * 函数进行传值
	 */
	function demo(){
		$a = 100;
		$b = 200;
		$var = function() use($a, $b){
			echo $a;
			echo $b;
		};

		$var();
	}
	demo();


 ?>